package com.zerowidth.moc.web.auth.annotation;

import java.lang.annotation.*;

/**
 * 需要登录后才能操作
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface NeedToken {
    boolean required() default true;
}